<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="../common/common.jsp"></jsp:include>
    <script type="text/javascript" src="/static/js/system/client_pool.js"></script>
</head>
<body>

    <div id="client_pool_datagrid">

    </div>

    <div id="client_pool_toolbar">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="admit()">吸纳</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="edit()">编辑</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-help',plain:true" onclick="flash()">刷新</a>

        模糊查询：<input type="text" class="easyui-textbox" id="name" prompt="客户姓名">
        精确查询：<input type="text" class="easyui-textbox" id="id_card" prompt="身份证">
                <input type="text" class="easyui-textbox" id="tel" prompt="电话">

        日期查询：
        <input type="text" class="easyui-datebox" id="beginTime" prompt="起始时间">
        <input type="text" class="easyui-datebox" id="endTime" prompt="终点时间">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()" >查询</a>
    </div>

    <div id="client_pool_button">
        <a class="easyui-linkbutton" iconCls="icon-save" plain="true" onclick="save()">保存</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" onclick="cancel()">取消</a>
    </div>

    <div id="client_pool_dialog">
        <form id="client_pool_form" action="#" method="post">
            <table align="center" style="margin:0 auto;margin-top: 20px">
                <tr><input type="hidden" name="id"/></tr>
                <tr>
                    <td><input name="name" style="width: 200px" class="easyui-textbox" data-options="label:'客户名称'"></td>
                </tr>
                <tr>
                    <td><input name="age" style="width: 200px" class="easyui-textbox" data-options="label:'年龄'"></td>
                </tr>
                <tr >
                    <td>
                        <select class="easyui-combobox" name="sex" style="width: 200px" data-options="panelHeight:'auto',editable:false,label:'性别'">
                            <option value="1">男</option>
                            <option value="0">女</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td><input name="job" style="width: 200px" class="easyui-combobox" data-options="label:'职位',valueField:'name',textField:'name',url:'/dictionary/getWords.do?sn=job'"></td>
                </tr>
                <tr>
                    <td><input name="salary" style="width: 200px" class="easyui-textbox" data-options="label:'收入'"></td>
                </tr>
                <tr>
                    <td><input name="tel" style="width: 200px" class="easyui-textbox" data-options="label:'电话'"></td>
                </tr>
                <tr>
                    <td><input name="email" style="width: 200px" class="easyui-textbox" data-options="label:'邮箱',validType:'email'"></td>
                </tr>
                <tr>
                    <td><input name="address" style="width: 200px" class="easyui-textbox" data-options="label:'地址'"></td>
                </tr>
                <tr>
                    <td><input name="source" style="width: 200px" class="easyui-textbox" data-options="label:'客源'"></td>
                </tr>
                <tr>
                    <td><input name="qq" style="width: 200px" class="easyui-textbox" data-options="label:'QQ'"></td>
                </tr>

                <tr>
                    <td><input name="id_card" style="width: 200px" class="easyui-textbox" data-options="label:'身份证'"/>
                    </td>
                </tr>

            </table>
        </form>
    </div>


</body>
</html>
